public class ArrayOps
{
   /**
      This method sums up both rows of a two-dimensional array
      (the only parameter to the method) and returns the greater sum.
      @param theArray, a 2-D array of integers
      @return, the greater row sum
   */
   public static int bigSum(int[][] theArray)
   {
      // your work here
      // loop though theArray, summing first row 
      // your work here
      // loop though theArray, summing second row 
      // your work here
      // return larger sum
      // your work here
      int len=theArray.length;
      int max=0,sum;
      for (int i=0;i<len;i++){
         sum=0;
         for(int j=0;j<theArray[i].length;j++){
          sum=sum+theArray[i][j];
         }
         if(max<sum)
            max=sum;
      }
      return max;
   }
}